package com.yanqu.road.entity.activity.douluodalu.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_douluodalu_npc_blood")
public class DouLuoDaLuNpcBloodData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(update = true, desc = "组id")
    private int groupId;

    @FieldTypeAnnotation(update = true, desc = "事件id")
    private int eventId;

    @FieldTypeAnnotation(desc = "最终血量")
    private long blood;

    @FieldTypeAnnotation(desc = "更新时间")
    private long updateTime;

    @FieldTypeAnnotation(desc = "玩家数量")
    private int userNum;
    @FieldTypeAnnotation(desc = "基数1")
    private long baseValue1;
    @FieldTypeAnnotation(desc = "基数1 起始排名")
    private int startRank1;
    @FieldTypeAnnotation(desc = "基数1 结束排名")
    private int endRank1;
    @FieldTypeAnnotation(desc = "基数1 玩家个数")
    private int num1;
    @FieldTypeAnnotation(desc = "基数1 总赚钱")
    private long earnSum1;
    @FieldTypeAnnotation(desc = "基数2")
    private long baseValue2;
    @FieldTypeAnnotation(desc = "基数2 起始排名")
    private int startRank2;
    @FieldTypeAnnotation(desc = "基数2 结束排名")
    private int endRank2;
    @FieldTypeAnnotation(desc = "基数2 玩家个数")
    private int num2;
    @FieldTypeAnnotation(desc = "基数2 总赚钱")
    private long earnSum2;
    @FieldTypeAnnotation(desc = "基数3")
    private long baseValue3;
    @FieldTypeAnnotation(desc = "基数4")
    private long baseValue4;

    public DouLuoDaLuNpcBloodData() {
    }

    public DouLuoDaLuNpcBloodData(int activityId, int groupId, int eventId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.eventId = eventId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        if(this.eventId != eventId) {
            this.eventId = eventId;
            setUpdateOption();
        }
    }

    public long getBlood() {
        return blood;
    }

    public void setBlood(long blood) {
        if(this.blood != blood) {
            this.blood = blood;
            setUpdateOption();
        }
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        if(this.updateTime != updateTime) {
            this.updateTime = updateTime;
            setUpdateOption();
        }
    }

    public int getUserNum() {
        return userNum;
    }

    public void setUserNum(int userNum) {
        if(this.userNum != userNum) {
            this.userNum = userNum;
            setUpdateOption();
        }
    }

    public long getBaseValue1() {
        return baseValue1;
    }

    public void setBaseValue1(long baseValue1) {
        if(this.baseValue1 != baseValue1) {
            this.baseValue1 = baseValue1;
            setUpdateOption();
        }
    }

    public int getStartRank1() {
        return startRank1;
    }

    public void setStartRank1(int startRank1) {
        if(this.startRank1 != startRank1) {
            this.startRank1 = startRank1;
            setUpdateOption();
        }
    }

    public int getEndRank1() {
        return endRank1;
    }

    public void setEndRank1(int endRank1) {
        if(this.endRank1 != endRank1) {
            this.endRank1 = endRank1;
            setUpdateOption();
        }
    }

    public int getNum1() {
        return num1;
    }

    public void setNum1(int num1) {
        if(this.num1 != num1) {
            this.num1 = num1;
            setUpdateOption();
        }
    }

    public long getEarnSum1() {
        return earnSum1;
    }

    public void setEarnSum1(long earnSum1) {
        if(this.earnSum1 != earnSum1) {
            this.earnSum1 = earnSum1;
            setUpdateOption();
        }
    }

    public long getBaseValue2() {
        return baseValue2;
    }

    public void setBaseValue2(long baseValue2) {
        if(this.baseValue2 != baseValue2) {
            this.baseValue2 = baseValue2;
            setUpdateOption();
        }
    }

    public int getStartRank2() {
        return startRank2;
    }

    public void setStartRank2(int startRank2) {
        if(this.startRank2 != startRank2) {
            this.startRank2 = startRank2;
            setUpdateOption();
        }
    }

    public int getEndRank2() {
        return endRank2;
    }

    public void setEndRank2(int endRank2) {
        if(this.endRank2 != endRank2) {
            this.endRank2 = endRank2;
            setUpdateOption();
        }
    }

    public int getNum2() {
        return num2;
    }

    public void setNum2(int num2) {
        if(this.num2 != num2) {
            this.num2 = num2;
            setUpdateOption();
        }
    }

    public long getEarnSum2() {
        return earnSum2;
    }

    public void setEarnSum2(long earnSum2) {
        if(this.earnSum2 != earnSum2) {
            this.earnSum2 = earnSum2;
            setUpdateOption();
        }
    }

    public long getBaseValue3() {
        return baseValue3;
    }

    public void setBaseValue3(long baseValue3) {
        if(this.baseValue3 != baseValue3) {
            this.baseValue3 = baseValue3;
            setUpdateOption();
        }
    }

    public long getBaseValue4() {
        return baseValue4;
    }

    public void setBaseValue4(long baseValue4) {
        if(this.baseValue4 != baseValue4) {
            this.baseValue4 = baseValue4;
            setUpdateOption();
        }
    }
}
